<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <title>VUE学习</title>
    <script src="JS/vue.js"></script>
</head>
<html>
    <div class="main">
        {{msg}}
    </div>
    <script>
        var vm = new Vue({
            el:'.main',
            data:{
                msg:'test'
            }
        });
    </script>
</html>